#include <stdio.h>
#include "tools.h"


int main (int argc, char *argv[])
{
    long a;
    int i;
  //  unsigned long val = 0x00005555;
    unsigned long val = 0xffffffff;

    bit_print_int (val);
    printf("[%s %d ] val=0x%08x >> \n", __FUNCTION__, __LINE__, val); 

    for (i=0; i<4; i++) {
        val &= ~(1 << (i+5)*2+1);
        bit_print_int (val);
        printf("[%s %d ] val=0x%08x\n", __FUNCTION__, __LINE__, val); 
    }

    bit_print_int (val);
    printf("[%s %d ] val=0x%08x <<\n", __FUNCTION__, __LINE__, val); 

    return 0;
}
